<%+header%>
<h2>客户端实时流量监测 (暂不兼容SFE和FLOW加速)</h2>
<p style="position:relative;">
    <button id="resetDatabase" class="cbi-button" style="position:absolute;right:0;bottom:0;">重置统计数据库</button>
</p>
<p>
    <small><span id="updated"></span> <span id="updating"></span></small>
    <span style="float:right;text-align:right;">
        <label>
            <small>数据自动刷新间隔</small>
            <select id="intervalSelect" style="width:90px;height:20px;font-size:11px;">
                <option value="-1">禁用</option>
                <option value="1">1 秒</option>
                <option value="2">2 秒</option>
                <option value="3">3 秒</option>
                <option value="4">4 秒</option>
                <option value="5" selected="selected">5 秒</option>
                <option value="10">10 秒</option>
                <option value="20">20 秒</option>
                <option value="30">30 秒</option>
                <option value="40">40 秒</option>
                <option value="50">50 秒</option>
                <option value="60">60 秒</option>
                <option value="120">2 分钟</option>
                <option value="180">3 分钟</option>
                <option value="240">4 分钟</option>
                <option value="360">5 分钟</option>
            </select>
        </label>
        <br/>
        <label>
            <small>合并计算MAC地址相同的客户端流量</small>
            <input id="perHostTotals" type="checkbox" style="vertical-align:middle;"/>
        </label>
        <!-- label>
            <small>Show per host aggregates only</small>
            <input id="showPerHostTotalsOnly" type="checkbox"/>
        </label -->
    </span>
</p>
<table class="table">
    <tbody id="tableBody"><tr><td>Loading...</td></tr></tbody>
</table>
<!--suppress HtmlUnknownTarget -->
<script src="/luci-static/wrtbwmon.js"></script>
<%+footer%>
